Main Page Modules Compound List File List Compound Members File Members Related Pages

# odbc_checks.h

    00001 /* FreeTDS - Library of routines accessing Sybase and Microsoft databases
    00002  * Copyright (C) 1998-2002  Brian Bruns
    00003  *
    00004  * This library is free software; you can redistribute it and/or
    00005  * modify it under the terms of the GNU Library General Public
    00006  * License as published by the Free Software Foundation; either
    00007  * version 2 of the License, or (at your option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful,
    00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012  * Library General Public License for more details.
    00013  *
    00014  * You should have received a copy of the GNU Library General Public
    00015  * License along with this library; if not, write to the
    00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017  * Boston, MA 02111-1307, USA.
    00018  */
    00019
    00020 #ifndef ODBC_CHECKS_H
    00021 #define ODBC_CHECKS_H
    00022
    00023 static char rcsid_odbc_checks_h[] = "$Id: odbc_checks.h,v 1.2 2003/11/05 17:31:31 jklowden Exp $";
    00024 static void *no_unused_odbc_checks_h_warn[] = { rcsid_odbc_checks_h, no_unused_odbc_checks_h_warn };
    00025
    00026 #if ENABLE_EXTRA_CHECKS
    00027 /* macro */
    00028 #define CHECK_ENV_EXTRA(env) odbc_check_env_extra(env)
    00029 #define CHECK_DBC_EXTRA(dbc) odbc_check_dbc_extra(dbc)
    00030 #define CHECK_STMT_EXTRA(stmt) odbc_check_stmt_extra(stmt)
    00031 #define CHECK_DESC_EXTRA(desc) odbc_check_desc_extra(desc)
    00032 /* declarations*/
    00033 void odbc_check_env_extra(TDS_ENV * env);
    00034 void odbc_check_dbc_extra(TDS_DBC * dbc);
    00035 void odbc_check_stmt_extra(TDS_STMT * stmt);
    00036 void odbc_check_desc_extra(TDS_DESC * desc);
    00037 #else
    00038 /* macro */
    00039 #define CHECK_ENV_EXTRA(env)
    00040 #define CHECK_DBC_EXTRA(dbc)
    00041 #define CHECK_STMT_EXTRA(stmt)
    00042 #define CHECK_DESC_EXTRA(desc)
    00043 #endif
    00044
    00045 #endif /* ODBC_CHECKS_H */